<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<html>
<head>
    <title>ИС "Аттестация рабочих мест"</title>
</head>
<body>


<f:view>
    <h:form>

        <%@ include file="/pages/common/menu.jsp" %>

        <h:panelGrid columns="2">
        <h:outputText id="metNameLbl" value="Наименование измерения"/>
        <h:inputText id="metNameTxt" value="#{dicMetricTypeBean.metricType.name}" maxlength="50"/>

        <h:outputText id="metEdIzmLbl" value="Единицы измерения"/>
        <h:inputText id="metEdIzmTxt" value="#{dicMetricTypeBean.metricType.edIzm}" maxlength="10"/>
         </h:panelGrid>

        <h:panelGrid id="pnlButtonsRows" columns="2">
        <a4j:commandButton action="#{dicMetricTypeBean.save}" value="Сохранить"/>
        <a4j:commandButton action="#{dicMetricTypeBean.cancel}"  immediate="true" value="Отмена"/>
        </h:panelGrid>
    </h:form>
</f:view>
</body>
</html>